package com.wxtech.heartbeat.model;

import java.util.Date;

public class BaseModel {
	
	public static final int CMD_STATUS_PROCESS = 0;
	public static final int CMD_STATUS_SUCCESS = 1;
	public static final int CMD_STATUS_FAILURE = 2;
	public static final int CMD_STATUS_CANCELLED = 3;		
 
	protected long id;
	protected int msgId;

	protected int total;
	protected int biaohao;
	protected Date insert_ts;
	protected Date last_update_ts;
	
	public int getMsg_id() {
		return msgId;
	}

	public void setMsg_id(int msg_id) {
		this.msgId = msg_id;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public int getBiaohao() {
		return biaohao;
	}

	public void setBiaohao(int biaohao) {
		this.biaohao = biaohao;
	}

	
	public Date getLast_update_ts() {
		return last_update_ts;
	}

	public void setLast_update_ts(Date last_update_ts) {
		this.last_update_ts = last_update_ts;
	}

	public BaseModel() {
		super();
		// TODO Auto-generated constructor stub
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public Date getInsert_ts() {
		return insert_ts;
	}

	public void setInsert_ts(Date insert_ts) {
		this.insert_ts = insert_ts;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("BaseModel [id=").append(id).append(", insert_ts=").append(insert_ts).append("]\n");
		return builder.toString();
	}
}
